﻿<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
	<title>widget</title>
	<meta charset="utf-8" />
	<link href="../lib/highlight/default.css" rel="stylesheet" />
	<script src="../lib/jquery.js"></script>
	<script src="../lib/highlight.js"></script>
	<script src="../lib/jsm.js"></script>
	<script>hljs.initHighlightingOnLoad();</script>
	<meta charset="utf-8" />
</head>
<body>


<h1>HTML：</h1>
<div style="text-align:center; background:yellow;">hello world</div>

<pre><code class="html">
&lt;div style="text-align:center; background:yellow;"&gt;hello world&lt;/div&gt;
</code></pre>

	<h1>jsm：</h1>
	<script>
//Needing to run in web server
//Auto load javascript file "../lib/jsm.widget/YellowPanel.js"
jsm
	.YellowPanel`hello world`()
.render();
	</script>


<pre><code class="javascript">
//Needing to run in web server
//Auto load javascript file "../lib/jsm.widget/YellowPanel.js"
jsm
	.YellowPanel`hello world`()
.render();
</code></pre>



</body>
</html>
